package com.rui.patterns.adapter.object_adapter;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : SDCardImpl
 * @createTime : [2022/2/22 15:12]
 * @description : [具体的SD卡类]
 */

public class SDCardImpl implements SDCard {

    @Override
    public String readSD() {
        String msg = "SDCard read msg : hello world SD";
        return msg;
    }

    @Override
    public void wireSD(String msg) {
        System.out.println("SDCard write msg : " + msg);
    }
}
